3.3.52 \(\int \cos ^{\frac {5}{2}}(c+d x) (b \cos (c+d x))^n \, dx\) [252]

Optimal. Leaf size=80 \[ -\frac {2 \cos ^{\frac {7}{2}}(c+d x) (b \cos (c+d x))^n \text {Hypergeometric2F1}\left (\frac {1}{2},\frac {1}{4} (7+2 n),\frac {1}{4} (11+2 n),\cos ^2(c+d x)\right ) \sin (c+d x)}{d (7+2 n) \sqrt {\sin ^2(c+d x)}} \]

[Out]

-2*cos(d*x+c)^(7/2)*(b*cos(d*x+c))^n*hypergeom([1/2, 7/4+1/2*n],[11/4+1/2*n],cos(d*x+c)^2)*sin(d*x+c)/d/(7+2*n
)/(sin(d*x+c)^2)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 80, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {20, 2722} \begin {gather*} -\frac {2 \sin (c+d x) \cos ^{\frac {7}{2}}(c+d x) (b \cos (c+d x))^n \, _2F_1\left (\frac {1}{2},\frac {1}{4} (2 n+7);\frac {1}{4} (2 n+11);\cos ^2(c+d x)\right )}{d (2 n+7) \sqrt {\sin ^2(c+d x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Cos[c + d*x]^(5/2)*(b*Cos[c + d*x])^n,x]

[Out]

(-2*Cos[c + d*x]^(7/2)*(b*Cos[c + d*x])^n*Hypergeometric2F1[1/2, (7 + 2*n)/4, (11 + 2*n)/4, Cos[c + d*x]^2]*Si
n[c + d*x])/(d*(7 + 2*n)*Sqrt[Sin[c + d*x]^2])

Rule 20

Int[(u_.)*((a_.)*(v_))^(m_)*((b_.)*(v_))^(n_), x_Symbol] :> Dist[b^IntPart[n]*((b*v)^FracPart[n]/(a^IntPart[n]
*(a*v)^FracPart[n])), Int[u*(a*v)^(m + n), x], x] /; FreeQ[{a, b, m, n}, x] &&  !IntegerQ[m] &&  !IntegerQ[n]
&&  !IntegerQ[m + n]

Rule 2722

Int[((b_.)*sin[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Simp[Cos[c + d*x]*((b*Sin[c + d*x])^(n + 1)/(b*d*(n + 1
)*Sqrt[Cos[c + d*x]^2]))*Hypergeometric2F1[1/2, (n + 1)/2, (n + 3)/2, Sin[c + d*x]^2], x] /; FreeQ[{b, c, d, n
}, x] &&  !IntegerQ[2*n]

Rubi steps

\begin {align*} \int \cos ^{\frac {5}{2}}(c+d x) (b \cos (c+d x))^n \, dx &=\left (\cos ^{-n}(c+d x) (b \cos (c+d x))^n\right ) \int \cos ^{\frac {5}{2}+n}(c+d x) \, dx\\ &=-\frac {2 \cos ^{\frac {7}{2}}(c+d x) (b \cos (c+d x))^n \, _2F_1\left (\frac {1}{2},\frac {1}{4} (7+2 n);\frac {1}{4} (11+2 n);\cos ^2(c+d x)\right ) \sin (c+d x)}{d (7+2 n) \sqrt {\sin ^2(c+d x)}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.08, size = 80, normalized size = 1.00 \begin {gather*} -\frac {\cos ^{\frac {7}{2}}(c+d x) (b \cos (c+d x))^n \csc (c+d x) \text {Hypergeometric2F1}\left (\frac {1}{2},\frac {1}{2} \left (\frac {7}{2}+n\right ),\frac {1}{2} \left (\frac {11}{2}+n\right ),\cos ^2(c+d x)\right ) \sqrt {\sin ^2(c+d x)}}{d \left (\frac {7}{2}+n\right )} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Cos[c + d*x]^(5/2)*(b*Cos[c + d*x])^n,x]

[Out]

-((Cos[c + d*x]^(7/2)*(b*Cos[c + d*x])^n*Csc[c + d*x]*Hypergeometric2F1[1/2, (7/2 + n)/2, (11/2 + n)/2, Cos[c
+ d*x]^2]*Sqrt[Sin[c + d*x]^2])/(d*(7/2 + n)))

________________________________________________________________________________________

Maple [F]
time = 0.05, size = 0, normalized size = 0.00 \[\int \left (\cos ^{\frac {5}{2}}\left (d x +c \right )\right ) \left (b \cos \left (d x +c \right )\right )^{n}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(d*x+c)^(5/2)*(b*cos(d*x+c))^n,x)

[Out]

int(cos(d*x+c)^(5/2)*(b*cos(d*x+c))^n,x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)^(5/2)*(b*cos(d*x+c))^n,x, algorithm="maxima")

[Out]

integrate((b*cos(d*x + c))^n*cos(d*x + c)^(5/2), x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)^(5/2)*(b*cos(d*x+c))^n,x, algorithm="fricas")

[Out]

integral((b*cos(d*x + c))^n*cos(d*x + c)^(5/2), x)

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)**(5/2)*(b*cos(d*x+c))**n,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)^(5/2)*(b*cos(d*x+c))^n,x, algorithm="giac")

[Out]

integrate((b*cos(d*x + c))^n*cos(d*x + c)^(5/2), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\cos \left (c+d\,x\right )}^{5/2}\,{\left (b\,\cos \left (c+d\,x\right )\right )}^n \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(c + d*x)^(5/2)*(b*cos(c + d*x))^n,x)

[Out]

int(cos(c + d*x)^(5/2)*(b*cos(c + d*x))^n, x)

________________________________________________________________________________________